SetRowHeight
Sets the height of the specified row measured in points. A point is 1/72 inch.
Syntax
expression.SetRowHeight(nRow, nHeight);
expression
- A variable that represents a ApiWorksheet class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
nRow | Required | number | The number of the row to set the height to. | |
nHeight | Required | number | The height of the row measured in points. |
Returns
This method doesn't return any data.
Example
This example sets the height of the specified row measured in points.
var oWorksheet = Api.GetActiveSheet();
oWorksheet.SetRowHeight(0, 30);